﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CNVP.JShop.Web.Member.Login" %>
<%@ Register src="Footer.ascx" tagname="Footer" tagprefix="uc1" %>
<%@ Register src="Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="LeftNav.ascx" tagname="LeftNav" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>会员登录</title>
<link href="css/Global.css" rel="stylesheet" type="text/css" media="all" />
<style type="text/css">
body { width:100%; height:700px; background:#d6dee0 url(images/MemberLoginBg.jpg) repeat-x top;  margin:0 auto; overflow:hidden; }
#LoginForm { width:453px; height:202px; margin:0 auto; position:relative; top:260px; }
#LoginBox { width:453px; height:202px;   background-color:#F2F2F2; clear:both; background:url(../images/LBBg.jpg) no-repeat; padding-top:28px; }
.LBLine input {border: medium none; font-size: 16px; height: 16px; padding:7px 0px 7px 10px; margin-left: 110px; width: 247px;}
.LBLine { width:100%; height:35px; margin-bottom:18px; }
.LBBtn { width:100%; height:40px; margin-top:20px; }
.LBBtn #btnLogin { margin-left:110px; height:40px; width:116px; background:url(images/Login.jpg) no-repeat; border:none; cursor:pointer; float:left;  }
.LBBtn a{ display:block; width:116px; height:30px; float:left; margin-left:27px; }
</style>
<script src="../Scripts/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="js/procp.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#btnLogin").click(function () {
                var $txtUserName = $("#txtUserName");
                var $txtUserPwd = $("#txtUserPwd");
                if ($txtUserName.val() == "") {
                    alert("用户名不能为空!");
                    $txtUserName.focus();
                    return false;
                }
                if ($txtUserPwd.val() == "") {
                    alert("用户密码不能为空!");
                    $txtUserPwd.focus();
                    return false;
                }
                return true;
            });
        })
    </script>
</head>

<body>
    <form id="form1" runat="server" autocomplete="off">
    <div id="LoginForm">
        <div id="LoginBox">
            <div class="LBLine">
               <asp:TextBox id="txtUserName" runat="server"></asp:TextBox>
            </div>
            <div class="LBLine">
                <asp:TextBox id="txtUserPwd" TextMode="Password"  runat="server"></asp:TextBox>
            </div>
            <div class="LBBtn">
                <asp:Button ID="btnLogin" runat="server" Text="" onclick="btnLogin_Click" />
            </div>
        </div>
    </div>
    
    </form>
<script type="text/javascript">
    jQuery(document).ready(CheckUserLogin); 
</script>
</body>
</html>
